.container {
  height: $totallyPercent;
}

.institution-list {
  .mint-loadmore-content {
    padding-bottom: 65px;
  }
}

// 导航
.navigation {
  position: fixed;
  bottom: 0;
  left: 0;
  width: $totallyPercent;
  background: $white;
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  line-height: 1;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
  z-index: 998;
  a {
    display: block;
    padding: 5px 10px;
    text-align: center;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    color: $gray;

    &.router-link-exact-active {
      color: $primary;
      svg {
        color: $primary;
      }

      &.router-link-active {
        color: $primary;
      }
      svg {
        color: $primary;
      }
    }
  }
}

/* =============================
轮播图
=============================== */
.swiper-wrapper {
  height: 200px;
  overflow: hidden;
  display: flex;
}
.swiper-container {
  // height: 150px;

  .swiper-slide {
    text-align: center;

    a {
      display: block;
      height: 160px;
      overflow: hidden;
    }
  }

  .swiper-pagination-bullet-active {
    background: $white;
  }
}

/* =============================
机构分类
=============================== */
.category {
  background-color: $white;
  font-size: $normalFontSize;
  padding: 5px 0;
  .category-list {
    line-height: 14px;
    padding: 0 5%;
    + .category-list {
      margin-top: 10px;
    }
    .category-item {
      color: $black;
      text-align: center;
      vertical-align: middle;
      p {
        height: 20px;
        line-height: 20px;
        vertical-align: middle;
        text-align: center;
      }
      .icon-guidance {
        color: #5a99e8;
      }
      .icon-languagestudy {
        color: #f26342;
      }
      .icon-artstudy {
        color: #f3b829;
      }
      .icon-travel {
        color: #65d35d;
      }
      .icon-deposit {
        color: #df4e8b;
      }
      .icon-activityshow {
        color: #e12f26;
      }
      .icon-otherscategory {
        color: #26d0b2;
      }
      .icon-allcategory {
        color: #ab55dd;
      }
    }
  }
}

/* =============================
值得去看
=============================== */
.line {
  margin: 0 auto;
  height: 30px;
  _zoom: 1;
  position: relative;
  line-height: 29px;
  text-align: center;
  vertical-align: middle;
  span {
    font-size: $normalFontSize;
    line-height: 30px;
    vertical-align: middle;
  }
  span::after {
    content: "";
    width: 38%;
    border-top: 1px solid $gray;
    height: 1px;
    position: absolute;
    right: 0;
    top: 14px;
  }
  span::before {
    content: "";
    width: 38%;
    border-top: 1px solid $gray;
    height: 1px;
    position: absolute;
    left: 0;
    top: 14px;
  }
}

/* =============================
机构列表
=============================== */
.pro-item {
  position: relative;
  padding: 5px;
  background: $white;
  transition: transform 0.3s;

  &.open-delete {
    transform: translate3d(-70px, 0, 0);
  }

  + .pro-item {
    border-top: 1px solid $grayLight;
  }

  .pro-img {
    position: relative;
    width: 120px;
    text-align: center;
    height: 100px;
    overflow: hidden;
  }

  .pro-props {
    width: $seventyPercent;
    padding-left: 2%;
    font-size: $smallFontSize;
    > div{
      padding: 3px 0;
    }
    .pro-name {
      padding: 0;
      font-size: $topicFontSize;
      width: 100%;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .pro-number {
      .number {
        color: orange;
      }
    }
    .pro-score,
    .pro-info{
      vertical-align: middle;
    }
    .pro-address {
      display: flex;
      justify-content: space-between;
      .address {
        width: 75%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
      .distance {
        padding-left: 5px;
      }
    }
    .pro-type {
      //line-height: $totallyPercent;
      vertical-align: bottom;
    }
    .icon-order {
      color: orange;
    }
  }

  .pro-operation {
    position: absolute;
    right: -70px;
    top: 0;
    width: 60px;
    height: 100%;
    line-height: 8;
    background: red;
    color: #fff;
    text-align: center;
    font-size: 14px;

    .delete {
      display: inline-block;
      vertical-align: middle;
    }
  }
}

// 左侧对齐，上下填满
.flex-align-stretch {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
}
// 上下居中 两端对齐
.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
